<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    request.setAttribute("basePath", request.getContextPath());
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
    <title></title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <script type="text/javascript">
     
        var int;
        window.onload = function(){
			var hash_url = window.location.hash;
			var url=hash_url.split("#")[1];
			document.getElementById('lckz').src=url;
            int = setInterval("countDown()",300);
        }

        function countDown(){
            var d = document.getElementById("lckz").contentWindow.document.getElementById('workBody');
            if(d && d.offsetHeight > 200){
                setTimeout(function(){
                    var height = d.offsetHeight+240;
                    window.clearInterval(int);  //鍋滄
                    document.getElementById("lckz").style.height = height;
                },800);
            }
        }
    </script>

</head>
<body>
<div id="main">
   <iframe allowtransparency="true" frameborder="0" width="90%" height="100%" scrolling="no" id="lckz"  src="" style="min-height: 600px;"></iframe>
</div>
</body>
</html>
